package com.wjj.sixinone.service;

import com.wjj.sixinone.common.pojo.entity.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjj.sixinone.common.pojo.vo.PatientForm;
import com.wjj.sixinone.common.pojo.vo.PatientVO;
import com.wjj.sixinone.common.util.Result;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王不秃头
 * @since 2024-07-22
 */
public interface PatientService extends IService<Patient> {

    Result selectPatientByLimit(PatientVO patientVO);

    Result addPatient(PatientForm patientForm);

    Result updatePatientById(PatientForm patientForm);

    void uploadExcel(HttpServletResponse httpServletResponse);

    Result deleteById(Map<String, Integer> map);
}
